<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>LIF041-Infographie: Référence du fichier /home/the-king/LIFO41/lifo41-tp-infographie/Vec3f.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">LIF041-Infographie</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li><a href="dirs.html"><span>Répertoires</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_vec3f_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier /home/the-king/LIFO41/lifo41-tp-infographie/Vec3f.h</div>  </div>
</div>
<div class="contents">
<div class="textblock"><div class="dynheader">
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :</div>
<div class="dyncontent">
<div class="center"><img src="_vec3f_8h__dep__incl.png" border="0" usemap="#_2home_2the-king_2_l_i_f_o41_2lifo41-tp-infographie_2_vec3f_8hdep" alt=""/></div>
<!-- MAP 0 -->
</div>
</div>
<p><a href="_vec3f_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_vec3f.html">Vec3f</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A vector is defined by 3 coord (X,Y,Z)  <a href="struct_vec3f.html#details">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#abbcf5b5ffcc3a0891c1fc9d8a864d56d">rad</a> (const float a)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">degree -&gt; radian  <a href="#abbcf5b5ffcc3a0891c1fc9d8a864d56d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a2d692cb5a0bc716f512538400c834231">vecPrint</a> (const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">print <a class="el" href="struct_vec3f.html" title="A vector is defined by 3 coord (X,Y,Z)">Vec3f</a>  <a href="#a2d692cb5a0bc716f512538400c834231"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a54ed0dadd24fcc09a03cd706e3b5140d">vecInit</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;v, const float x, const float y, const float z)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">v=(x,y,z)  <a href="#a54ed0dadd24fcc09a03cd706e3b5140d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a768d9e3eb9bfbfb3846d87206e8bab44">vecInit</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;v, const float a, const float b)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">spherical coord -&gt; (x,y,z)  <a href="#a768d9e3eb9bfbfb3846d87206e8bab44"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a4d22258d1021383e38583a2a69ed1843">vecAdd</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;R, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;A, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;B)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">R=A+B.  <a href="#a4d22258d1021383e38583a2a69ed1843"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a55c5f21f175667e09f9e033187194381">vecSub</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;R, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;A, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;B)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">R=A-B.  <a href="#a55c5f21f175667e09f9e033187194381"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#abe76b44875ddd84236caacc0d016e20a">vecMul</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;R, const float a, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;B)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">R = a*B.  <a href="#abe76b44875ddd84236caacc0d016e20a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a4d5aa147b9e2b0bbc4b5ca25f42c904e">vecDot</a> (const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;A, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;B)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Scalar product.  <a href="#a4d5aa147b9e2b0bbc4b5ca25f42c904e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a66d8205538c53312775745ff729de541">vecCross</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;R, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;A, const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;B)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cross product (produit vectoriel)  <a href="#a66d8205538c53312775745ff729de541"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#a1c94f47fef6168c9a27f4a2ce3d78394">vecNormalize</a> (<a class="el" href="struct_vec3f.html">Vec3f</a> &amp;v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">normalize the vector  <a href="#a1c94f47fef6168c9a27f4a2ce3d78394"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_vec3f_8h.html#ac64a94c5bb8b6324dbd629cb1f13c95a">vecLength</a> (const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;v)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return the length of the vector  <a href="#ac64a94c5bb8b6324dbd629cb1f13c95a"></a><br/></td></tr>
</table>
<hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="abbcf5b5ffcc3a0891c1fc9d8a864d56d"></a><!-- doxytag: member="Vec3f.h::rad" ref="abbcf5b5ffcc3a0891c1fc9d8a864d56d" args="(const float a)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float rad </td>
          <td>(</td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>a</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>degree -&gt; radian </p>

<p>Référencé par <a class="el" href="_camera_8h.html#a2752f3a061dc5963c7ace66ef8514150">camComputeDirFront()</a>.</p>

</div>
</div>
<a class="anchor" id="a4d22258d1021383e38583a2a69ed1843"></a><!-- doxytag: member="Vec3f.h::vecAdd" ref="a4d22258d1021383e38583a2a69ed1843" args="(Vec3f &amp;R, const Vec3f &amp;A, const Vec3f &amp;B)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecAdd </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>R</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>R=A+B. </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_scene_8h.html#a8ce5bd2e0adf9fae1bf8b9467685ad0c">anim_camion()</a>, <a class="el" href="_scene_8h.html#aeab58dd56152cf2ff20a4b0452c16892">anim_lune()</a>, <a class="el" href="_scene_8h.html#ae7801b434dd5fb6bb3497baa6bac7769">anim_terre()</a>, <a class="el" href="_animation_8cpp.html#ad9718f649397c0d129f92338f7aaf4e5">Bezier()</a>, et <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>.</p>

</div>
</div>
<a class="anchor" id="a66d8205538c53312775745ff729de541"></a><!-- doxytag: member="Vec3f.h::vecCross" ref="a66d8205538c53312775745ff729de541" args="(Vec3f &amp;R, const Vec3f &amp;A, const Vec3f &amp;B)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecCross </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>R</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cross product (produit vectoriel) </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>, et <a class="el" href="_scene_8h.html#aca0046921c401f9e20902f6af27a9524">normalTerrain()</a>.</p>

</div>
</div>
<a class="anchor" id="a4d5aa147b9e2b0bbc4b5ca25f42c904e"></a><!-- doxytag: member="Vec3f.h::vecDot" ref="a4d5aa147b9e2b0bbc4b5ca25f42c904e" args="(const Vec3f &amp;A, const Vec3f &amp;B)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float vecDot </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Scalar product. </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

</div>
</div>
<a class="anchor" id="a768d9e3eb9bfbfb3846d87206e8bab44"></a><!-- doxytag: member="Vec3f.h::vecInit" ref="a768d9e3eb9bfbfb3846d87206e8bab44" args="(Vec3f &amp;v, const float a, const float b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>spherical coord -&gt; (x,y,z) </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

</div>
</div>
<a class="anchor" id="a54ed0dadd24fcc09a03cd706e3b5140d"></a><!-- doxytag: member="Vec3f.h::vecInit" ref="a54ed0dadd24fcc09a03cd706e3b5140d" args="(Vec3f &amp;v, const float x, const float y, const float z)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>z</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>v=(x,y,z) </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a2752f3a061dc5963c7ace66ef8514150">camComputeDirFront()</a>, <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>, <a class="el" href="opengl_8h.html#aecc2d5c0e445358732ba5b7aab1e705c">GLColor()</a>, et <a class="el" href="_scene_8h.html#aca0046921c401f9e20902f6af27a9524">normalTerrain()</a>.</p>

</div>
</div>
<a class="anchor" id="ac64a94c5bb8b6324dbd629cb1f13c95a"></a><!-- doxytag: member="Vec3f.h::vecLength" ref="ac64a94c5bb8b6324dbd629cb1f13c95a" args="(const Vec3f &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float vecLength </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return the length of the vector </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>.</p>

</div>
</div>
<a class="anchor" id="abe76b44875ddd84236caacc0d016e20a"></a><!-- doxytag: member="Vec3f.h::vecMul" ref="abe76b44875ddd84236caacc0d016e20a" args="(Vec3f &amp;R, const float a, const Vec3f &amp;B)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecMul </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>R</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const float&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>R = a*B. </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_scene_8h.html#a8ce5bd2e0adf9fae1bf8b9467685ad0c">anim_camion()</a>, <a class="el" href="_scene_8h.html#aeab58dd56152cf2ff20a4b0452c16892">anim_lune()</a>, <a class="el" href="_scene_8h.html#ae7801b434dd5fb6bb3497baa6bac7769">anim_terre()</a>, <a class="el" href="_animation_8cpp.html#ad9718f649397c0d129f92338f7aaf4e5">Bezier()</a>, <a class="el" href="_camera_8h.html#a3562de3314274820a3f25e03ee9a3595">camTranslate()</a>, et <a class="el" href="opengl_8h.html#aecc2d5c0e445358732ba5b7aab1e705c">GLColor()</a>.</p>

</div>
</div>
<a class="anchor" id="a1c94f47fef6168c9a27f4a2ce3d78394"></a><!-- doxytag: member="Vec3f.h::vecNormalize" ref="a1c94f47fef6168c9a27f4a2ce3d78394" args="(Vec3f &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecNormalize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>normalize the vector </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_camera_8h.html#a2752f3a061dc5963c7ace66ef8514150">camComputeDirFront()</a>.</p>

</div>
</div>
<a class="anchor" id="a2d692cb5a0bc716f512538400c834231"></a><!-- doxytag: member="Vec3f.h::vecPrint" ref="a2d692cb5a0bc716f512538400c834231" args="(const Vec3f &amp;v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecPrint </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>v</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>print <a class="el" href="struct_vec3f.html" title="A vector is defined by 3 coord (X,Y,Z)">Vec3f</a> </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

</div>
</div>
<a class="anchor" id="a55c5f21f175667e09f9e033187194381"></a><!-- doxytag: member="Vec3f.h::vecSub" ref="a55c5f21f175667e09f9e033187194381" args="(Vec3f &amp;R, const Vec3f &amp;A, const Vec3f &amp;B)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void vecSub </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>R</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>A</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="struct_vec3f.html">Vec3f</a> &amp;&#160;</td>
          <td class="paramname"><em>B</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>R=A-B. </p>

<p>Références <a class="el" href="struct_vec3f.html#a4ee774446db3cafa0f9682065a64ba32">Vec3f::x</a>, <a class="el" href="struct_vec3f.html#a3b01268bf88a45f95a45097b0457393f">Vec3f::y</a>, et <a class="el" href="struct_vec3f.html#a78f2ea154cc9996ad95397a1fb0f4033">Vec3f::z</a>.</p>

<p>Référencé par <a class="el" href="_scene_8h.html#a8ce5bd2e0adf9fae1bf8b9467685ad0c">anim_camion()</a>, <a class="el" href="_scene_8h.html#aeab58dd56152cf2ff20a4b0452c16892">anim_lune()</a>, <a class="el" href="_scene_8h.html#ae7801b434dd5fb6bb3497baa6bac7769">anim_terre()</a>, et <a class="el" href="_scene_8h.html#aca0046921c401f9e20902f6af27a9524">normalTerrain()</a>.</p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_vec3f_8h.html">Vec3f.h</a>      </li>
      <li class="footer">Généré le Tue Jan 3 2012 09:33:59 pour LIF041-Infographie par&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
    </ul>
  </div>

</body>
</html>
